//=====================================================================
//
//=====================================================================
#ifndef KALEIDOSCOPE_RESOLVE_TYPENAME_HPP
#define KALEIDOSCOPE_RESOLVE_TYPENAME_HPP
//=====================================================================
#include <atma/assert.hpp>
//=====================================================================
#include <sooty/frontend/syntactic_analysis/parseme.hpp>
#include <sooty/frontend/syntactic_analysis/algorithm.hpp>
//=====================================================================
#include <prism/frontend/syntactical_analysis/parse.hpp>
//=====================================================================
namespace prism {
namespace resolve {
//=====================================================================
	
	//=====================================================================
	//
	//  typename_to_type_definition
	//  -----------------------------------
	//    takes an identifier, and finds where it is defined. it includes
	//    local variable-definitions and parameters
	//
	//    NOTE: this identifier MUST be a typename. else it will not work.
	//
	//    DOUBLE NOTE: since we don't have UDTs yet, this is moot.
	//
	//=====================================================================
	inline sooty::parseme_ptr typename_to_type_definition(sooty::const_parseme_ptr_ref N)
	{
		ATMA_ASSERT(N && N->id == ID::identifier);
		ATMA_HALT("not yet implemented");
		return sooty::parseme_ptr();
	}
	
//=====================================================================
} // namespace resolve
} // namespace prism
//=====================================================================
#endif
//=====================================================================
